﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dycox.Windows.Forms
{
    public class DetailsViewCollectionElementItem : DetailsViewInstanceItem
    {
        internal DetailsViewCollectionElementItem(object obj, int index)
            : base(obj)
        {
            _elementIndex = index;
            ItemName = "#" + (index + 1);
        }

        private int _elementIndex;

        public int ElementIndex
        {
            get { return _elementIndex; }
        }

    }
}
